<template>
    <div>
        <el-button type="primary" @click="test">主要按钮</el-button>
        <el-button plain>朴素按钮</el-button>
    </div>
</template>

<script>
export default {
    name: 'testViews',
    data() {
        return {};
    },
    methods: {
        test () {
            this.$axios.get("/test/testPublic").then(res => {
                console.log(res.data.obj)
            })
        }
    }
}
</script>

<style>

</style>